import request from '@/utils/request'

// 查询订单管理列表
export function orderingList(query) {
  return request({
    url: '/wsd_canteens/orderFoodList',
    method: 'get',
    params: query
  })
}
// 查询订单管理详情
export function orderingDetails(paymentId) {
  return request({
    url: '/wsd_canteens/getOrderFood/'+paymentId,
    method: 'get',
  })
}
// 查询订单管理订餐情况
export function orderingPeopleNumber(query) {
  return request({
    url: '/wsd_canteens/orderPeopleNum',
    method: 'get',
    params: query
  })
}
// 添加订单
export function orderAdd(data) {
  return request({
    url: '/wsd_canteens/addOrdering',
    method: 'post',
    data:data
  })
}